export interface SpinningState {
    visible: boolean
}

export const spinningInitialState: SpinningState = { visible: false };

export function spinningReducer(state: SpinningState, visible: boolean) {
    return {
        visible
    };
}
